<?php /* Smarty version Smarty-3.0.6, created on 2024-05-06 17:39:45
         compiled from "/www/wwwroot/gushi.phoenixfm.cn/tpl/web/history.html" */ ?>
<?php /*%%SmartyHeaderCode:17168790446638a5613e07f5-26281752%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f4bae0714296e3ad324c53e64eb85d26e99062b1' => 
    array (
      0 => '/www/wwwroot/gushi.phoenixfm.cn/tpl/web/history.html',
      1 => 1714988381,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17168790446638a5613e07f5-26281752',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("web/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
  
<!--主要内容区-->
 <div class="container">
   <div class="alert with-icon alert-info">
    <i class="icon-info-sign"></i>
    <div class="content"><strong>Hi!</strong> 以下内容均为AI虚构的历史事件，仅供娱乐，不要对号入座，真实的历史事件请查阅相关的历史文献获取。</div>
  </div>
   <div class="row">
     <!--左侧内容-->
     <div class="col-xs-12">
        <div class="list">
            <header>
              <h3><i class="icon-list-ul"></i> 最新虚拟历史 </h3>
            </header>
            <div class="items items-hover">
                <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('result')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
                <div class="item">
                    <div class="item-heading">
                        <div class="pull-right">
                            <!--<span class="text-muted">2013-11-11 16:14:37</span> &nbsp; 
                            <a href="#" class="text-muted"><i class="icon-comments"></i> 243</a>-->
                        </div>
                        <h4><a target="_blank" href="//historygen.com/index.php/main/details/id/<?php echo $_smarty_tpl->tpl_vars['wx']->value['sim_event_id'];?>
">如果：【<?php echo $_smarty_tpl->tpl_vars['wx']->value['assumption'];?>
】 事件出现了这种假设，那么历史会如何发展呢？</a></h4>
                    </div>
                    <div class="item-content">
                        <?php if ($_smarty_tpl->tpl_vars['wx']->value['imgslist']!=''){?>
                        <div class="cards">
                            <?php  $_smarty_tpl->tpl_vars['wx_img'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['wx']->value['imgslist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx_img']->key => $_smarty_tpl->tpl_vars['wx_img']->value){
?>
                            <div class="col-md-2 col-sm-6 col-lg-2">
                                <div class="card"><img src="<?php echo $_smarty_tpl->tpl_vars['wx_img']->value;?>
" alt=""></div>
                            </div>
                            <?php }} ?>
                        </div>
                        <?php }?>
                        <div class="text"><?php echo $_smarty_tpl->tpl_vars['wx']->value['simulate_desc'];?>
</div>
                    </div>
                </div>
                <?php }} ?>
            </div>
            <footer>
                <?php if ($_smarty_tpl->getVariable('pager')->value){?>
                <ul class="pager">
                    <?php if ($_smarty_tpl->getVariable('pager')->value['current_page']!=$_smarty_tpl->getVariable('pager')->value['firf_page']){?>
                    <li class="previous"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'alter_historyList','f'=>$_smarty_tpl->getVariable('f')->value,'v'=>$_smarty_tpl->getVariable('v')->value,'page'=>$_smarty_tpl->getVariable('pager')->value['prev_page']),$_smarty_tpl);?>
">上一页</a></li>
                    <?php }?>
                    <?php  $_smarty_tpl->tpl_vars['thepage'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('pager')->value['all_pages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['thepage']->key => $_smarty_tpl->tpl_vars['thepage']->value){
?>
                            <?php if ($_smarty_tpl->tpl_vars['thepage']->value<=$_smarty_tpl->getVariable('pager')->value['current_page']+5&&$_smarty_tpl->tpl_vars['thepage']->value>=$_smarty_tpl->getVariable('pager')->value['current_page']-5){?>
                                <?php if ($_smarty_tpl->tpl_vars['thepage']->value!=$_smarty_tpl->getVariable('pager')->value['current_page']){?>
                                    <li><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'alter_historyList','f'=>$_smarty_tpl->getVariable('f')->value,'v'=>$_smarty_tpl->getVariable('v')->value,'page'=>$_smarty_tpl->tpl_vars['thepage']->value),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['thepage']->value;?>
</a></li>                     
                                <?php }else{ ?>
                                    <li class="active"><a href="#"><?php echo $_smarty_tpl->tpl_vars['thepage']->value;?>
</a></li> 
                                <?php }?>
                            <?php }?>
                    <?php }} ?>
                    <?php if ($_smarty_tpl->getVariable('pager')->value['current_page']!=$_smarty_tpl->getVariable('pager')->value['laf_page']){?>
                    <li class="next"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'alter_historyList','f'=>$_smarty_tpl->getVariable('f')->value,'v'=>$_smarty_tpl->getVariable('v')->value,'page'=>$_smarty_tpl->getVariable('pager')->value['next_page']),$_smarty_tpl);?>
">下一页</a></li>
                    <?php }?>
                </ul>
                <?php }?>
            </footer>
          </div>
     </div>
  </div>
<?php $_template = new Smarty_Internal_Template("web/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>